package com.xry.service;

import com.xry.bean.Category;
import com.xry.util.Page;

import java.util.List;

public interface CategoryService {

    Category add(Category category);

    int del(Integer id);

    Category edit(Category category);

    List<Category> all(Category category);

    Category one(Integer id);

    void page(Page page, Category category);
}
